import Vue from 'vue'
import Router from 'vue-router'
import WechatBind from './views/WechatBind.vue'
import WechatBindSuccess from './views/WechatBindSuccess.vue'
import WechatBindFail from './views/WechatBindFail.vue'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/wechat/bind/:openid',
            component: WechatBind
        },
        {
            path: '/wechat/bind_success',
            component: WechatBindSuccess
        }, {
            path: '/wechat/bind_fail',
            component: WechatBindFail
        }
    ]
})
